namespace OPC.Common
{
    using System;
    using System.Runtime.InteropServices;
    using System.Text;

    [StructLayout(LayoutKind.Sequential)]
    public class OpcServers
    {
        public string ProgID;
        public string ServerName;
        public Guid ClsID;
        public override string ToString()
        {
            StringBuilder builder = new StringBuilder("OPCServer: ", 300);
            builder.AppendFormat("'{0}' ID={1} [{2}]", this.ServerName, this.ProgID, this.ClsID);
            return builder.ToString();
        }
    }
}

